package itHeima.lesson3;

public class Demo4 {
    public static void main(String[] args) {
        int j =10;
        int k = 20;
        int i = 30;
        int rs = j>k ? j:k;
        int q =rs;
        int rq = q>i ? q:i;
        System.out.println(rq);

    }

}
